package com.taijihuabao.modules.model.checkin.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.taijihuabao.modules.entity.CheckInStateEntity;
import com.taijihuabao.modules.entity.DeptEntity;
import com.taijihuabao.modules.entity.UserEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 考勤列表模型
 *
 * @author changhui.tu
 */
@Data
@ApiModel("考勤列表模型")
public class CheckInListVO {

    /**
     * 考勤主键
     */
    @ApiModelProperty(value = "考勤主键")
    private Long id;

    /**
     * 考勤日期
     */
    @ApiModelProperty(value = "考勤日期")
    private String dateTime;

    /**
     * 打卡时间
     */
    @ApiModelProperty(value = "打卡时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date clockTime;

    /**
     * 打卡地址
     */
    @ApiModelProperty(value = "打卡地址")
    private String address;

    /**
     * 打卡种类
     */
    @ApiModelProperty(value = "打卡种类")
    private Long clockType;

    /**
     * 删除标志
     */
    @ApiModelProperty(value = "删除标志")
    private Long deleteMark;

    /**
     * 用户实体
     */
    @ApiModelProperty(value = "用户实体")
    private UserEntity userEntity;

    /**
     * 部门实体
     */
    @ApiModelProperty(value = "部门实体")
    private DeptEntity deptEntity;

    /**
     * 打卡状态实体
     */
    @ApiModelProperty(value = "打卡状态实体")
    private CheckInStateEntity stateEntity;

}
